﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DeHeng_Mes.Model.Table
{
    [SqlSugar.SugarTable("trace_rivet")]
    public class TraceRivet : ITraceId
    {
        [SqlSugar.SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        [SugarColumn(ColumnName = "order_code")]
        public string OrderCode { get; set; }
        [SugarColumn(ColumnName = "trace_id")]
        public string TraceId { get; set; }
        [SugarColumn(ColumnName = "nail_id")]
        public string NailId { get; set; }
        [SugarColumn(ColumnName = "operation_id")]
        public string OperationId { get; set; }
        [SugarColumn(ColumnName = "max_pull")]
        public string MaxPull { get; set; }
        [SugarColumn(ColumnName = "max_pull_offset")]
        public string MaxPullOffset { get; set; }
        [SugarColumn(ColumnName = "default_pull")]
        public string DefaultPull { get; set; }
        [SugarColumn(ColumnName = "default_offset")]
        public string DefaultOffset { get; set; }
        [SugarColumn(ColumnName = "default_maxpull")]
        public string DefaultMaxpull { get; set; }
        [SugarColumn(ColumnName = "default_minpull")]
        public string DefaultMinpull { get; set; }
        [SugarColumn(ColumnName = "default_maxoffset")]
        public string DefaultMaxoffset { get; set; }
        [SugarColumn(ColumnName = "default_maxoffset")]
        public string DefaultMinoffset { get; set; }
        [SugarColumn(ColumnName = "result")]
        public string Result { get; set; }
        [SugarColumn(ColumnName = "collection_time")]
        public DateTime CollectionTime { get; set; }
    }
}
